package com.xiaozhen.common.core.domain.driver;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.xiaozhen.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * HISTORY
 *
 * @author zhenweisheng
 * @date 2021/11/15 16:00
 * @description:
 */
@Data
@TableName("parse_modbus_attribute")
@ApiModel(description = "解析modbus协议")
public class ParseModbusAttribute extends BaseEntity {

    @TableId
    @ApiModelProperty(value = "ID")
    private Long modbusId;

    @ApiModelProperty(value = "驱动ID")
    private Long driverId;

    @ApiModelProperty(value = "slaveId")
    private Integer slaveId;

    @ApiModelProperty(value = "functionCode")
    private Integer functionCode;

    @ApiModelProperty(value = "offset")
    private Integer offset;

    @ApiModelProperty(value = "type")
    private String attributeType;
}
